package com.magicborrow.beans;

import java.util.List;

/**
 * Created by River on 6/1/16.
 */
public class IPublishBean {

    /**
     * code : 0
     * data : {"content":[{"address":"北京","box":1,"created":"2016-05-25 17:15:58","deleted":0,"deposit":200,"description":"投影仪","favor":false,"favors":2,"id":20,"images":[],"lat":0,"lendMode":0,"lon":0,"name":"投影仪","price":10,"priceMode":2,"status":0,"tags":[],"user":{}},{},{},{"address":"北京","box":1,"created":"2016-05-10 13:33:08","deleted":0,"deposit":5000,"description":"红宝石(Ruby)的红色愈鲜艳便愈美丽、愈有价值。红宝石(Ruby)中极品的颜色被称为\u201c鸽血红\u201d。这是一种几乎可称为深红色的鲜艳强烈的色彩，能够把红宝石(Ruby)的美表露得一览无遗。它的红色除了纯净、饱和、明亮之外，更给人以强烈的\u201c燃烧的火\u201d与\u201c流动的血\u201d的感觉。","favor":false,"favors":2,"id":1,"images":[{"created":1462858388000,"height":679,"id":1,"origin":"/store/origin//2016/0510/10133307laio.jpg","preview":"/store/thumbs//2016/0510/101333078xno.jpg","targetId":1,"width":673},{"created":1462858388000,"height":340,"id":2,"origin":"/store/origin//2016/0510/10133308yn42.jpg","preview":"/store/thumbs//2016/0510/10133308dptq.jpg","targetId":1,"width":535}],"lat":0,"lendMode":1,"lon":0,"name":"3.06克拉天然无烧鸽血红红宝石","price":200,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:36:08","grayIcon":"/store/thumbs/2016/0511/111126254hnv.png","icon":"/store/thumbs/2016/0511/111126259sf5.png","id":1,"name":"运动健身"},{"created":"2016-05-10 11:36:24","grayIcon":"/store/thumbs/2016/0511/111126122esb.png","icon":"/store/thumbs/2016/0511/11112612run5.png","id":2,"name":"精致生活"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":5,"borrowScaleAVG":0,"borrowTimes":1,"city":"","cityId":0,"created":"2016-05-10 11:32:50","gender":1,"id":1,"lat":0,"lendScale":0,"lendScaleAVG":0,"lendTimes":0,"lon":0,"mobile":"13811605753","nickname":"m13811605753","signature":"","status":0,"studentStatus":0,"updated":"2016-05-10 11:32:50"}}],"first":true,"last":true,"number":0,"numberOfElements":4,"size":10,"sort":null,"totalElements":4,"totalPages":1}
     * message : 操作成功
     */

    private int code;
    /**
     * content : [{"address":"北京","box":1,"created":"2016-05-25 17:15:58","deleted":0,"deposit":200,"description":"投影仪","favor":false,"favors":2,"id":20,"images":[],"lat":0,"lendMode":0,"lon":0,"name":"投影仪","price":10,"priceMode":2,"status":0,"tags":[],"user":{}},{},{},{"address":"北京","box":1,"created":"2016-05-10 13:33:08","deleted":0,"deposit":5000,"description":"红宝石(Ruby)的红色愈鲜艳便愈美丽、愈有价值。红宝石(Ruby)中极品的颜色被称为\u201c鸽血红\u201d。这是一种几乎可称为深红色的鲜艳强烈的色彩，能够把红宝石(Ruby)的美表露得一览无遗。它的红色除了纯净、饱和、明亮之外，更给人以强烈的\u201c燃烧的火\u201d与\u201c流动的血\u201d的感觉。","favor":false,"favors":2,"id":1,"images":[{"created":1462858388000,"height":679,"id":1,"origin":"/store/origin//2016/0510/10133307laio.jpg","preview":"/store/thumbs//2016/0510/101333078xno.jpg","targetId":1,"width":673},{"created":1462858388000,"height":340,"id":2,"origin":"/store/origin//2016/0510/10133308yn42.jpg","preview":"/store/thumbs//2016/0510/10133308dptq.jpg","targetId":1,"width":535}],"lat":0,"lendMode":1,"lon":0,"name":"3.06克拉天然无烧鸽血红红宝石","price":200,"priceMode":2,"status":0,"tags":[{"created":"2016-05-10 11:36:08","grayIcon":"/store/thumbs/2016/0511/111126254hnv.png","icon":"/store/thumbs/2016/0511/111126259sf5.png","id":1,"name":"运动健身"},{"created":"2016-05-10 11:36:24","grayIcon":"/store/thumbs/2016/0511/111126122esb.png","icon":"/store/thumbs/2016/0511/11112612run5.png","id":2,"name":"精致生活"}],"user":{"avatar":"/dist/images/ava/default.png","avatar80":"/dist/images/ava/default.png","birthday":"1990-01-01","borrowScale":5,"borrowScaleAVG":0,"borrowTimes":1,"city":"","cityId":0,"created":"2016-05-10 11:32:50","gender":1,"id":1,"lat":0,"lendScale":0,"lendScaleAVG":0,"lendTimes":0,"lon":0,"mobile":"13811605753","nickname":"m13811605753","signature":"","status":0,"studentStatus":0,"updated":"2016-05-10 11:32:50"}}]
     * first : true
     * last : true
     * number : 0
     * numberOfElements : 4
     * size : 10
     * sort : null
     * totalElements : 4
     * totalPages : 1
     */

    private DataBean data;
    private String message;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public static class DataBean {
        private boolean first;
        private boolean last;
        private int number;
        private int numberOfElements;
        private int size;
        private Object sort;
        private int totalElements;
        private int totalPages;
        /**
         * address : 北京
         * box : 1
         * created : 2016-05-25 17:15:58
         * deleted : 0
         * deposit : 200
         * description : 投影仪
         * favor : false
         * favors : 2
         * id : 20
         * images : []
         * lat : 0
         * lendMode : 0
         * lon : 0
         * name : 投影仪
         * price : 10
         * priceMode : 2
         * status : 0
         * tags : []
         * user : {}
         */

        private List<StuffBean> content;

        public boolean isFirst() {
            return first;
        }

        public void setFirst(boolean first) {
            this.first = first;
        }

        public boolean isLast() {
            return last;
        }

        public void setLast(boolean last) {
            this.last = last;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public int getNumberOfElements() {
            return numberOfElements;
        }

        public void setNumberOfElements(int numberOfElements) {
            this.numberOfElements = numberOfElements;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public Object getSort() {
            return sort;
        }

        public void setSort(Object sort) {
            this.sort = sort;
        }

        public int getTotalElements() {
            return totalElements;
        }

        public void setTotalElements(int totalElements) {
            this.totalElements = totalElements;
        }

        public int getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(int totalPages) {
            this.totalPages = totalPages;
        }

        public List<StuffBean> getContent() {
            return content;
        }

        public void setContent(List<StuffBean> content) {
            this.content = content;
        }

        public static class ContentBean {
            private String address;
            private int box;
            private String created;
            private int deleted;
            private int deposit;
            private String description;
            private boolean favor;
            private int favors;
            private int id;
            private int lat;
            private int lendMode;
            private int lon;
            private String name;
            private int price;
            private int priceMode;
            private int status;
            private UserBean user;
            private List<?> images;
            private List<?> tags;

            public String getAddress() {
                return address;
            }

            public void setAddress(String address) {
                this.address = address;
            }

            public int getBox() {
                return box;
            }

            public void setBox(int box) {
                this.box = box;
            }

            public String getCreated() {
                return created;
            }

            public void setCreated(String created) {
                this.created = created;
            }

            public int getDeleted() {
                return deleted;
            }

            public void setDeleted(int deleted) {
                this.deleted = deleted;
            }

            public int getDeposit() {
                return deposit;
            }

            public void setDeposit(int deposit) {
                this.deposit = deposit;
            }

            public String getDescription() {
                return description;
            }

            public void setDescription(String description) {
                this.description = description;
            }

            public boolean isFavor() {
                return favor;
            }

            public void setFavor(boolean favor) {
                this.favor = favor;
            }

            public int getFavors() {
                return favors;
            }

            public void setFavors(int favors) {
                this.favors = favors;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getLat() {
                return lat;
            }

            public void setLat(int lat) {
                this.lat = lat;
            }

            public int getLendMode() {
                return lendMode;
            }

            public void setLendMode(int lendMode) {
                this.lendMode = lendMode;
            }

            public int getLon() {
                return lon;
            }

            public void setLon(int lon) {
                this.lon = lon;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public int getPriceMode() {
                return priceMode;
            }

            public void setPriceMode(int priceMode) {
                this.priceMode = priceMode;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }

            public UserBean getUser() {
                return user;
            }

            public void setUser(UserBean user) {
                this.user = user;
            }

            public List<?> getImages() {
                return images;
            }

            public void setImages(List<?> images) {
                this.images = images;
            }

            public List<?> getTags() {
                return tags;
            }

            public void setTags(List<?> tags) {
                this.tags = tags;
            }

            public static class UserBean {
            }
        }
    }
}
